package com.castle.fortress.admin.member.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;
/**
 * 会员设置表 实体类
 *
 * @author Mgg
 * @since 2021-11-26
 */
@Data
@TableName("member_setting")
public class MemberSetingEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	/**
	 * 唯一主键
	*/
	@JsonSerialize(using = ToStringSerializer.class)
	@TableId(
			value = "id",
			type = IdType.ASSIGN_ID
	)
	private Long id;
	/**
	 * 升级方式（订单完成后、付款后）
	*/
	private Integer upMode;
	/**
	 * 是否开启账户充值
	*/
	private String rechargeStatus;
	/**
	 * 是否开启余额提现
	*/
	private String withdrawalStatus;
	/**
	 * 余额提现方式
	*/
	private String withdrawalMethod;
	/**
	 * 最小提现金额（余额满多少才能提现,空或0不限制）
	*/
	private String withdrawalMin;
	/**
	 * 余额提现手续费(%)
	*/
	private String withdrawalServiceCharge;
	/**
	 * 免手续费金额 开始金额
	*/
	private String withdrawalFreeStart;
	/**
	 * 免手续费金额 结束金额
	*/
	private String withdrawalFreeEnd;

}
